import {makeAutoObservable, action} from 'mobx'

class RootStore{
  name = 'yang'
constructor() {
  makeAutoObservable(this)
}
  @action
  changeName(name){
    this.name = name
  }
}

export default new RootStore()